home *** CD-ROM | disk | FTP | other *** search
- From: envbvs@epb2.lbl.gov (Brian V. Smith)
- Newsgroups: comp.sources.x
- Subject: v06i085: xfig 2.0, Patch6, Part05/06
- Message-ID: <134791@sun.Eng.Sun.COM>
- Date: 24 Apr 90 22:28:49 GMT
- Approved: argv@sun.com
-
- Submitted-by: envbvs@epb2.lbl.gov (Brian V. Smith)
- Posting-number: Volume 6, Issue 85
- Archive-name: xfig2/patch6.5
- Patch-To: xfig2: Volume 6, Issues 9-24, 34-36, 50-56
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of archive 5 (of 6)."
- # Contents: xfig.man.diff
- # Wrapped by envbvs@epb2.lbl.gov on Tue Apr 24 11:56:48 1990
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'xfig.man.diff' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'xfig.man.diff'\"
- else
- echo shar: Extracting \"'xfig.man.diff'\" \(16394 characters\)
- sed "s/^X//" >'xfig.man.diff' <<'END_OF_FILE'
- X*** xfig.man.old Tue Apr 24 11:48:46 1990
- X--- xfig.man Tue Apr 24 11:24:00 1990
- X***************
- X*** 21,28 ****
- X .SH DESCRIPTION
- X .I Xfig
- X is a menu-driven tool that allows the user to draw and manipulate objects
- X! interactively in an X window. It runs under X version 11 release 3 or 4 and
- X! requires a three-button mouse.
- X .I File
- X specifies the name of a file to be edited. The description of objects in
- X the file will be read at the start of \fIxfig\fP.
- X--- 21,29 ----
- X .SH DESCRIPTION
- X .I Xfig
- X is a menu-driven tool that allows the user to draw and manipulate objects
- X! interactively in an X window.
- X! .B It runs under X version 11 release 4 only
- X! and requires a three-button mouse.
- X .I File
- X specifies the name of a file to be edited. The description of objects in
- X the file will be read at the start of \fIxfig\fP.
- X***************
- X*** 30,80 ****
- X The output from \fIxfig\fP can be printed in several ways:
- X .PP
- X .B Postscript -
- X! f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce a
- X! .I postscript
- X! file from an \fIxfig\fP file.
- X! The
- X! .I postscript
- X! file can be sent directly to a postscript printer.
- X .PP
- X! .B troff -
- X f2p (\fIxfig\fP to \fIpic\fP(1) translator, also known by its previous
- X name \fIf2fp\fP(1L)) is used to translate \fIxfig\fP files into
- X .IR pic (1)
- X language.
- X! The resulting file may then be processed in the same manner as any other
- X .I pic
- X! file. Note that area fill, line thicknesses and multiple fonts are not
- X! supported by \fIftop\fP.
- X .PP
- X! .B LaTeX -
- X! fig2latex (\fIxfig\fP to \fILaTeX\fP translator) produces a
- X! .I LaTeX
- X! file from an
- X! .I xfig
- X! file.
- X! This file contains
- X! .I LaTeX
- X! picture environment commands and can be
- X processed along with other
- X .I LaTeX
- X commands.
- X! This program is in the \fITransFig\fP package available from
- X! svax.cs.cornell.edu via anonymous ftp.
- X! .PP
- X! .B PiCTeX -
- X! fig2tex (\fIxfig\fP to \fIPiCTeX\fP translator) produces a
- X .I PiCTeX
- X! file from an
- X! .I xfig
- X! file. This file contains macros that can be
- X! used with the
- X .I PiCTeX
- X environment under
- X .I TeX
- X or
- X .I LaTeX.
- X! This is also available from the \fITransFig\fP package.
- X .SH OPTIONS
- X .TP
- X .B \-ri
- X--- 31,88 ----
- X The output from \fIxfig\fP can be printed in several ways:
- X .PP
- X .B Postscript -
- X! f2ps (\fIxfig\fP to \fIpostscript\fP translator) is used to produce
- X! \fIpostscript\fP from an \fIxfig\fP file.
- X! This can be sent directly to a postscript printer or a file.
- X .PP
- X! .B Troff -
- X f2p (\fIxfig\fP to \fIpic\fP(1) translator, also known by its previous
- X name \fIf2fp\fP(1L)) is used to translate \fIxfig\fP files into
- X .IR pic (1)
- X language.
- X! The resulting output may then be processed in the same manner as any other
- X .I pic
- X! file. Note that area fill is not supported by \fIf2p\fP.
- X .PP
- X! .B Note:
- X! The \fIf2p\fP and \fIf2ps\fP translators will be eventually phased out
- X! because the \fITransFig\fP package from Micah Beck is a more general
- X! purpose translator for more graphics languages.
- X! The \fITransFig\fP package can be used as a back-end processor to xfig
- X! to produce various types of output:
- X! .IP "LaTeX - "12
- X! \fIfig2dev -L latex\fP translates \fIxfig\fP to \fILaTeX\fP
- X! picture environment commands which can be
- X processed along with other
- X .I LaTeX
- X commands.
- X! .IP "Postscript -
- X! \fIfig2dev -L ps\fP produces a postscript output.
- X! .IP "Pic -
- X! \fIfig2dev -L pic\fP produces a pic output.
- X! .IP "PiCTeX -
- X! \fIfig2dev -L pictex\fP produces
- X .I PiCTeX
- X! output.
- X! This contains macros that can be used with the
- X .I PiCTeX
- X environment under
- X .I TeX
- X or
- X .I LaTeX.
- X! .IP "Others -
- X! fig2dev has options for these other languages:
- X! \fIbox\fP,
- X! \fIepic\fP,
- X! \fIeepic\fP,
- X! and \fIeepicemu\fP.
- X! .PP
- X! The \fITransFig\fP package is available from
- X! svax.cs.cornell.edu (directory /pub/fig) and from
- X! sun.soe.clarkson.edu (directory /pub/transfig) via anonymous ftp.
- X! It is also available by mail from the Clarkson archive server.
- X! To find out about using the server, send the one-line message "help" to
- X! archive-server@sun.soe.clarkson.edu.
- X .SH OPTIONS
- X .TP
- X .B \-ri
- X***************
- X*** 127,132 ****
- X--- 135,141 ----
- X \fICLOSED SPLINE\fP, \fIELLIPSE\fP, \fIPOLYLINE\fP, \fIPOLYGON\fP,
- X \fISPLINE\fP, and \fITEXT\fP. A primitive can be moved, rotated,
- X flipped, copied or erased.
- X+ The TEXT primitive cannot be rotated or flipped.
- X A compound object is composed of primitive objects. The primitive objects
- X that constitute a compound can not be individually modified, but they can
- X be manipulated as an entity; a compound can be moved, rotated, flipped,
- X***************
- X*** 166,173 ****
- X Remove all objects on the canvas window (can be undone).
- X .TP
- X .I Edit file ...
- X! The current contents of the canvas are cleared and objects
- X! are read from the specified file.
- X The user will be asked for a file name.
- X This file will become the current file.
- X .TP
- X--- 175,182 ----
- X Remove all objects on the canvas window (can be undone).
- X .TP
- X .I Edit file ...
- X! The current contents of the canvas are cleared and the figure
- X! is read from the specified file.
- X The user will be asked for a file name.
- X This file will become the current file.
- X .TP
- X***************
- X*** 177,188 ****
- X name as in the "Save in ..." function.
- X .TP
- X .I Read file ...
- X! Read objects from the specified file and merge them with objects already
- X shown on the canvas.
- X (The user will be asked for a file name.)
- X .TP
- X .I Save in ...
- X! Save objects on the screen into a file specified by the user.
- X (The user will be asked for a file name.)
- X If there is no current file name, it will be set to the name specified
- X in the save.
- X--- 186,197 ----
- X name as in the "Save in ..." function.
- X .TP
- X .I Read file ...
- X! Read figure from the specified file and merge it with the figure already
- X shown on the canvas.
- X (The user will be asked for a file name.)
- X .TP
- X .I Save in ...
- X! Save the figure on the screen into a file specified by the user.
- X (The user will be asked for a file name.)
- X If there is no current file name, it will be set to the name specified
- X in the save.
- X***************
- X*** 195,206 ****
- X will employ the current working directory.
- X .TP
- X .I Save & Quit
- X! Save the objects in the current file and exit from \fIxfig\fP.
- X If there is no current file, the user will be asked for a file name.
- X No confirmation will be asked.
- X .TP
- X .I Quit
- X! Exit from \fIxfig\fP, discarding all objects. The user will be asked to
- X confirm the action, by clicking the left button.
- X .SH "BOTTOM PANEL COMMAND FUNCTIONS"
- X Most of the buttons in the bottom panel are counterparts to the pop-up menu functions.
- X--- 204,219 ----
- X will employ the current working directory.
- X .TP
- X .I Save & Quit
- X! Save the figure in the current file and exit from \fIxfig\fP.
- X If there is no current file, the user will be asked for a file name.
- X No confirmation will be asked.
- X .TP
- X+ .I Save as Bitmap
- X+ Create an X11 bitmap from the figure the size of which is determined
- X+ by the enclosing rectangle of all the figure plus a small border.
- X+ .TP
- X .I Quit
- X! Exit from \fIxfig\fP, discarding the figure. The user will be asked to
- X confirm the action, by clicking the left button.
- X .SH "BOTTOM PANEL COMMAND FUNCTIONS"
- X Most of the buttons in the bottom panel are counterparts to the pop-up menu functions.
- X***************
- X*** 208,220 ****
- X (landscape or portrait) and the printer device itself.
- X .SH "BOTTOM PANEL WINDOW COMMAND DESCRIPTIONS"
- X .TP
- X- .I CHANGE TEXT
- X- Change existing text to current font, size and justification settings.
- X- .TP
- X .I FONT SELECT
- X This button pops up a menu of 35 fonts available for most Apple
- X Postscript printers.
- X! The name of the font appears in the font itself so that one may see
- X what that font looks like.
- X If a corresponding X11 font exists, new text is created
- X on the canvas using that font.
- X--- 221,230 ----
- X (landscape or portrait) and the printer device itself.
- X .SH "BOTTOM PANEL WINDOW COMMAND DESCRIPTIONS"
- X .TP
- X .I FONT SELECT
- X This button pops up a menu of 35 fonts available for most Apple
- X Postscript printers.
- X! The name of the font is printed in the font itself so that one may see
- X what that font looks like.
- X If a corresponding X11 font exists, new text is created
- X on the canvas using that font.
- X***************
- X*** 246,252 ****
- X clicking the left mouse button. The selected icon is highlighted, and
- X a message describing its function appears in the message window.
- X .PP
- X! The left and middle buttons are used to creat and modify objects in the canvas
- X window. Most actions start with clicking of the left button
- X and end with clicking of the middle button.
- X There is no need to hold down a button while positioning
- X--- 256,262 ----
- X clicking the left mouse button. The selected icon is highlighted, and
- X a message describing its function appears in the message window.
- X .PP
- X! The left and middle buttons are used to create and modify objects in the canvas
- X window. Most actions start with clicking of the left button
- X and end with clicking of the middle button.
- X There is no need to hold down a button while positioning
- X***************
- X*** 292,309 ****
- X The radius of the corners is selected by the INCREASE/DECREASE RADIUS button.
- X .TP
- X .I BREAK COMPOUND
- X! Break a compound object to allow manipulation of its component parts.
- X Click the left button on the bounding box of
- X the compound object.
- X .TP
- X! .I CHANGE LINE STYLE OF EXISTING OBJECT
- X! Click left button on an object and the line style will change to the currently
- X! selected style.
- X .TP
- X- .I CHANGE LINE THICKNESS OF EXISTING OBJECT
- X- Click left button on an object and the line thickness will change
- X- to the currently selected thickness.
- X- .TP
- X .I CIRCLE
- X Create circles by specifying their radii or diameters.
- X Click the left button on the canvas window, move the cursor until the
- X--- 302,323 ----
- X The radius of the corners is selected by the INCREASE/DECREASE RADIUS button.
- X .TP
- X .I BREAK COMPOUND
- X! Break a compound object to allow manipulation of its component parts.
- X Click the left button on the bounding box of
- X the compound object.
- X .TP
- X! .I CHANGE OBJECT
- X! Change settings for an existing object.
- X! Click the left button on the object and a pop-up menu will appear
- X! showing existing settings for the object. Some of the menu entries
- X! may be changed by typing new values in the appropriate windows. These
- X! allow cut and paste.
- X! Others pop up a sub-menu of multiple choices when pressed and held.
- X! Press the "done" button to apply the changes to the object and finish.
- X! Press the "apply" button to apply the changes but keep the menu up for
- X! further changes. Press the "cancel" button to cancel the changes and
- X! pop down the menu.
- X .TP
- X .I CIRCLE
- X Create circles by specifying their radii or diameters.
- X Click the left button on the canvas window, move the cursor until the
- X***************
- X*** 341,346 ****
- X--- 355,365 ----
- X .I ELLIPSE
- X Create ellipses using the same procedure as for the drawing of circles.
- X .TP
- X+ .I FLIP
- X+ Invert the object (middle button) or produce a mirror-image copy of an
- X+ object (left button). Point to part of the object ("the handle"), click
- X+ the appropriate button.
- X+ .TP
- X .I GLUE
- X Glue the objects within a bounding box into a compound object
- X (the bounding box itself is not part of the figure;
- X***************
- X*** 388,393 ****
- X--- 407,415 ----
- X .I REMOVE
- X Remove (or delete) objects.
- X .TP
- X+ .I ROTATE
- X+ Rotate the object (middle button) or copy (left button) +90 degrees.
- X+ .TP
- X .I SCALE COMPOUND
- X Only compound objects can be scaled. Click the left button
- X on a corner of the bounding box, stretch the
- X***************
- X*** 423,436 ****
- X Automatically add forward/backward arrow heads to \fIPOLYLINE\fP, \fISPLINE\fP
- X or \fIARC\fP objects.
- X .TP
- X- .I FLIP
- X- Invert the object (middle button) or produce a mirror-image copy of an
- X- object (left button). Point to part of the object ("the handle"), click
- X- the appropriate button.
- X- .TP
- X- .I GRID
- X- Display either the quarter- or half-inch grids (left button).
- X- .TP
- X .I MAGNET
- X Round points to the nearest 1/16 of an inch.
- X This affects every function, and is provided as an alignment aid.
- X--- 445,450 ----
- X***************
- X*** 438,443 ****
- X--- 452,465 ----
- X .I UNRESTRICTED
- X Allow lines to be drawn with any slope.
- X .TP
- X+ .I LATEX LINE
- X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
- X+ environment lines: slope = x/y, where x,y are integers in the range [-6,6].
- X+ .TP
- X+ .I LATEX VECTOR
- X+ Allow lines to be drawn only at slopes which can be handled by LaTeX picture
- X+ environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
- X+ .TP
- X .I MANHATTAN
- X Enforce drawing of lines in the horizontal and vertical direction only.
- X Both \fIMANHATTAN\fP and \fIMOUNTAIN\fP can be turned on simultaneously. The
- X***************
- X*** 454,476 ****
- X Allow lines to be drawn at any slope allowed when in
- X MOUNTAIN or MANHATTAN modes.
- X .TP
- X! .I ROTATE
- X! Rotate the object (middle button) or copy (left button) +90 degrees.
- X .TP
- X .I SOLID/DASHED/DOTTED LINE STYLE
- X Toggle between solid, dashed and dotted line styles. The dash length
- X is fixed at 0.05 inch.
- X- .PP
- X- If \fIxfig\fP is compiled with the -DTFX option (TransFig compatibility)
- X- then the following two buttons are available:
- X- .TP
- X- .I LATEX LINE
- X- Allow lines to be drawn only at slopes which can be handled by LaTeX picture
- X- environment lines: slope = x/y, where x,y are integers in the range [-6,6].
- X- .TP
- X- .I LATEX VECTOR
- X- Allow lines to be drawn only at slopes which can be handled by LaTeX picture
- X- environment vectors: slope = x/y, where x,y are integers in the range [-4,4].
- X .SH X DEFAULTS
- X The overall widget name(Class) is xfig.fig(Fig.TopLevelShell). This
- X set of resources correspond to the command line arguments:
- X--- 476,487 ----
- X Allow lines to be drawn at any slope allowed when in
- X MOUNTAIN or MANHATTAN modes.
- X .TP
- X! .I GRID
- X! Display either the quarter- or half-inch grids (left button).
- X .TP
- X .I SOLID/DASHED/DOTTED LINE STYLE
- X Toggle between solid, dashed and dotted line styles. The dash length
- X is fixed at 0.05 inch.
- X .SH X DEFAULTS
- X The overall widget name(Class) is xfig.fig(Fig.TopLevelShell). This
- X set of resources correspond to the command line arguments:
- X***************
- X*** 532,549 ****
- X message window
- X form.message(Form.Command)
- X .TP
- X! menu
- X form.popup_menu.menu(Form.OverrideShell.Box)
- X .TP
- X! menu title
- X form.popup_menu.menu.title(Form.OverrideShell.Box.Label)
- X .TP
- X! menu items
- X form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
- X .TP
- X font menu
- X form.font_menu.menu(Form.OverrideShell.Box)
- X .TP
- X indicator panel
- X form.indicator(Form.Box)
- X .TP
- X--- 543,563 ----
- X message window
- X form.message(Form.Command)
- X .TP
- X! command menu
- X form.popup_menu.menu(Form.OverrideShell.Box)
- X .TP
- X! command menu title
- X form.popup_menu.menu.title(Form.OverrideShell.Box.Label)
- X .TP
- X! command menu items
- X form.popup_menu.menu.pane(Form.OverrideShell.Box.Command)
- X .TP
- X font menu
- X form.font_menu.menu(Form.OverrideShell.Box)
- X .TP
- X+ change menu
- X+ change.form(TransientShell.Form)
- X+ .TP
- X indicator panel
- X form.indicator(Form.Box)
- X .TP
- X***************
- X*** 566,579 ****
- X screen.
- X .PP
- X Undoing the creation of a compound object deletes the objects
- X! inside the compound object. Undoing the undo doesn't bring them back.
- X .PP
- X Ellipses which are too narrow are not drawn correctly.
- X- .PP
- X- Objects which are created while one of the
- X- .I grids
- X- is on may appear ragged. This can be corrected by selecting \fIRedisplay\fP
- X- from the pop-up menu.
- X .SH "SEE ALSO"
- X Brian W. Kernighan
- X .I "PIC - A Graphics Language for Typesetting User Manual"
- X--- 580,588 ----
- X screen.
- X .PP
- X Undoing the creation of a compound object deletes the objects
- X! outside the compound object. Undoing the undo doesn't bring them back.
- X .PP
- X Ellipses which are too narrow are not drawn correctly.
- X .SH "SEE ALSO"
- X Brian W. Kernighan
- X .I "PIC - A Graphics Language for Typesetting User Manual"
- X***************
- X*** 640,642 ****
- X--- 649,662 ----
- X (standard disclaimer applies)
- X .br
- X (bvsmith@lbl.gov)
- X+ .sp
- X+ Popup change-object menu by:
- X+ .br
- X+ Jon Tombs
- X+ (jon%robots.oxford.ac.uk@nsfnet-relay.ac.uk)
- X+ .br
- X+ and
- X+ .br
- X+ Frank Schmuck
- X+ .br
- X+ (schmuck@svax.cs.cornell.edu)
- END_OF_FILE
- if test 16394 -ne `wc -c <'xfig.man.diff'`; then
- echo shar: \"'xfig.man.diff'\" unpacked with wrong size!
- fi
- # end of 'xfig.man.diff'
- fi
- echo shar: End of archive 5 \(of 6\).
- cp /dev/null ark5isdone
- MISSING=""
- for I in 1 2 3 4 5 6 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 6 archives.
- rm -f ark[1-9]isdone
- else
- echo You still need to unpack the following archives:
- echo " " ${MISSING}
- fi
- ## End of shell archive.
- exit 0
-
- dan
- -----------------------------------------------------------
- O'Reilly && Associates
- argv@sun.com / argv@ora.com
- 632 Petaluma Ave, Sebastopol, CA 95472
- 800-338-NUTS, in CA: 800-533-NUTS, FAX 707-829-0104
- Opinions expressed reflect those of the author only.
-